/**
 *
 */
package gemini.basic.dao;

import gemini.basic.model.ProductType;

import java.util.List;



/**
 *
 */
public interface CategoryDao {
	public List<ProductType> getAll();
	
	public ProductType getByCode(String code);

	public ProductType getById(Integer id);

	public void delete(ProductType byId);

	public ProductType saveOrUpdate(ProductType productType, boolean flush);
}
